package com.edu.product.service.impl;

import com.edu.product.bean.Product;
import com.edu.product.service.ProductService;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

@Service
public class ProductServiceImpl implements ProductService {
    @Override
    public Product getProductById(Long id) {
        return new Product(id, new BigDecimal("6688.00"), "iphone-" + id, 2);
    }
}
